home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / gedit.prerm < prev    next >
Encoding:
Text File  |  2011-02-27  |  521 b   |  26 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     remove|upgrade|deconfigure)
  7.         # unregister gedit as a gnome-text-editor in the alternatives system
  8.         update-alternatives --remove gnome-text-editor /usr/bin/gedit || true
  9.     ;;
  10.  
  11.     failed-upgrade)
  12.     ;;
  13.  
  14.     *)
  15.         echo "prerm called with unknown argument \`$1'" >&2
  16.         exit 0
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_pysupport
  21. if which update-python-modules >/dev/null 2>&1; then
  22.     update-python-modules -c  gedit.private
  23. fi
  24. # End automatically added section
  25.  
  26.